package com.xjgc.msibase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjgc.msibase.entity.MsiServerRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 中间库服务记录表
 *
 * @author: 小逗号
 * @date: 2023-9-27
 * @description:
 * @since:
 */
@Mapper
public interface MsiServerRecordMapper extends BaseMapper<MsiServerRecord> {
    /**
     * 分页查询
     *
     * @param page
     * @param queryAo
     * @return
     */
    IPage<MsiServerRecord> selectPageList(@Param("page") IPage<MsiServerRecord> page, @Param("queryAo") MsiServerRecord queryAo);

    /**
     * 定时删除
     *
     * @param date
     * @return
     */
    int deleteTimer(@Param("date")Date date);
}
